import React from "react";

function QueryItem (props){
    const{fellow} = props;
    return(
        <div>
            <ul>
                <li>姓名：{fellow.name}</li>
                <li>班级：{fellow.classes}</li>
                <li>专业：{fellow.majorName}</li>
                <li>毕业年份：{fellow.graduateYear}</li>
                <li>职业：{fellow.job}</li>
            </ul>
        </div>
    )
}

export default QueryItem;